#ifndef __GLES2Context_H__
#define __GLES2Context_H__

namespace PVM
{
	class GLES2Context
	{
	public:
		GLES2Context();
		virtual ~GLES2Context();
		
		virtual void setCurrent() = 0;
		virtual void endCurrent() = 0;
		
		bool getInitialized() {return initialized;}
		void setInitialized() {initialized = true;}
		
		virtual GLES2Context* clone() const = 0;
		
		virtual void releaseContext() {}
		
	protected:
		bool initialized;
	};
}

#endif
